load("//private/rules:rules.bzl", "host_native_binary", "installable_binary")

host_native_binary(
    name = "_kubectl",
    repo = "@io_k8s_dl_kubectl",
    target = "file:kubectl",
)

alias(
    name = "kubectl",
    actual = "_kubectl_bin",
    visibility = ["//visibility:public"],
)

installable_binary(
    name = "install",
    installed_name = "kubectl",
    target = "_kubectl_bin",
)
